package com.bwie.contract.mapper;

import com.bwie.common.domain.Contract;
import com.bwie.common.domain.request.ContractRequest;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ContractMapper {
    //查询合同数量
   List<Contract> selectContractQuantity();
   //查询合同
    List<Contract> queryContract(ContractRequest contract);
    //上传合同
    Integer saveContract(Contract contract);
    //审核
    Integer updateContract(Contract contract);
}
